﻿function GoBack() {
    window.history.go(-1);
}
function HrefToGlobal() {
    var obj = localStorage.obj;
    $.ajax({
        url: 'UpgradeCard',
        data: { json: localStorage.obj },
        method: 'POST',
        success: function (result) {
            result = eval('(' + result + ')');
            alert(result.Message + "即将跳转购买会员卡号界面");
            if (result.IsSucceed) {
                window.location.href = "https://weidian.com/?userid=1342160248&share_id=1342160248&wfr=wx&ifr=shopdetail&code=021Y27ib1C1Kyv0mhsib13ueib1Y27iP&state=H5WXshare";
            }
        }
    })
}